using Newtonsoft.Json;


namespace MS.Core.BaseProvider
{
    public abstract class ServiceBase<T, TRepository> 
         where T : class, new()
         where TRepository : IBaseRepository<T>
    {

        public TRepository Repository { get;  set; }
        public ServiceBase()
        {
        }

        public ServiceBase(TRepository repository)
        {
            this.Repository = repository;
        }

    }
}
